const gulp = require("gulp");
const {src,dest,watch} = gulp;
const less = require("gulp-less");
const minifyCSS = require("gulp-clean-css");
const rename = require("gulp-rename");
const autoprefixer = require("gulp-autoprefixer");
const css_Minnify = ()=>{
    src("src/css/*.less",{"base": "src"})
    .pipe(less())
    .pipe(autoprefixer())
    .pipe(minifyCSS())
    .pipe(rename({
        "extname": ".min.css"
    }))
    .pipe(dest("dist"));
};
module.exports = {
    css_Minnify
};